nav.navbar.navbar-default.navbar-fixed-top(role="navigation")
  .container
    .navbar-header
      button.navbar-toggle(type="button", data-toggle="collapse", data-target=".navbar-ex1-collapse")
        span.sr-only Toggle navigation
        span.icon-bar
        span.icon-bar
        span.icon-bar
      a.navbar-brand(href="#") Angular-xeditable #{env == 'prod' ? '' : '(dev)'}

    .collapse.navbar-collapse.navbar-ex1-collapse
      ul.nav.navbar-nav
        li.active
          a(href="#") Home
        li
          a(href="https://github.com/vitalets/angular-xeditable") GitHub
        if env !== 'prod'  
          li
            a(href="/test/e2e/dev-test.html") dev-test
          li
            a(href="/test/e2e/docs-test.html") prod-test

      form.navbar-form.navbar-right
        a.btn.btn-primary(href="zip/angular-xeditable-"+version+'.zip', style="font-weight:bold")
          span.glyphicon.glyphicon-save(style="margin-right:10px")
          | Download #{version} ~ #{size}kb

      if env == 'prod'
        div(style="padding-top: 13px")
          include social.html
